 

public class HelloWorld implements HelloWorldMBean {

    private String name = "lidongbo";   
	  
    public String getName() {   
        return name;   
    }   
  
    public void setName(String name) {   
        this.name = name;   
    }   
  
    public void printName() {   
        System.out.println("Hello, " + name + "!!");   
    }   

    public void printHello(String whoName) {       
        System.out.println("Hello , " + whoName);    
    }

    public String printAuthor() {   
        return "lidongbo";   
    } 
}
